<!--隐患排查查询-->
<include file="public@header"/>
</head>
<style>
.form-control{
max-width:100px;
}
</style>
<body style="background-color: #E5F3E6">
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
       <li class="active"><a href="{:url('hiden/index')}">隐患整改信息</a></li>
	   <li ><a href="{:url('hiden/add')}">隐患信息填报</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('hiden/index')}" >
        隐患时间:
        <input autocomplete="off" class="js-bootstrap-date form-control" type="text" id="input-start_time" name="start_time"/>
       -- 
       <input autocomplete="off" class="js-bootstrap-date form-control" type="text" id="input-end_time" name="end_time"/> &nbsp; &nbsp;
        隐患状态:
        <select class="form-control" name="hidenFlag" >
            <option value=''>请选择</option>
            <option value='0'>已上报</option>
            <option value='1'>待整改</option>
            <option value='2'>待复查</option>
            <option value='3'>已完成</option>
            <!-- {$category_tree|default=''} -->
        </select> &nbsp;&nbsp;
         部门名称:
        <select class="form-control" name="departID" > <option value=''>请选择</option>{$select_category}
        </select> 
        排查方式:
        <select class="form-control" name="hidenPtrStyleID" >
            <option value=''>请选择</option>
            <option value="1">综合检查</option>
            <option value="2">专项检查</option>
            <option value="3">季节检查</option>
            <option value="4">节假日及重大活动检查</option>  
            <option value="5">日常检查</option>  
            <option value="6">上级部门检查</option>
            <option value="7">巡检检查</option>
        </select> &nbsp;&nbsp;    
        <input style="display:inline-block"type="submit" class="btn btn-primary" value="搜索"/>
        <!-- <a href="{:url('Hidendanger/export')}" target="_blank"  -->
                <!-- class="btn btn-success">导出Excel</a> -->
    </form>
	<div  class="table-actions">
		<table class="table table-striped table-bordered table-hover dataTables-example tablesorter" 
		style="word-break:break-all; word-wrap:break-all;table-layout:fixed;font-size:12px"
            id="tab">
			<thead >
				<tr>
				    <th width="50">序号</th>
					<th>排查单位</th>
                    <th>排查人</th>
                    <th>排查时间</th>
                    <th>排查方式</th>
                    <th>隐患类别</th>
                    <th>隐患级别</th>
                    <th>隐患描述</th>

                    <th>整改单位</th>
                    <th>整改方式</th>
                    <th>整改期限</th>
                    <th>整改要求</th>

                    <th>整改日期</th>
                    <th>整改责任人</th>
                    <th>整改结果</th>

                    <th>复查人</th>
                    <th>复查日期</th>
                    <th>复查结果</th>

                    <th>隐患状态</th>
                    <th width="150">{:lang('ACTIONS')}</th>
                </tr>
            </thead>
            <tbody>
                <foreach name="data" item="vo">
            		<tr>
                        <td>{$vo.hidenID}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.hidenPersonName}</td>
                        <td>{$vo.hidenTime}</td>
                        <td>{$vo.partolStyleName}</td>
                        <td>{$vo.dangerTypeName}</td>
                        <td>{$vo.hidenLevel}</td>
                        <td>{$vo.hidenInfo}</td>
                        <!--整改信息-->
                        <td>{$vo.abarname}</td>        
                        <td>{$vo.abarStyle}</td>
                        <td>{$vo.abarbeitungTime}</td>
                        <td>{$vo.abarRequest}</td>
                        <!--整改确认-->
                        <td>{$vo.abarTime}</td>
                        <td>{$vo.abarbeitungPerson}</td>      
                        <td>{$vo.abarResult}</td>       
                        <!--整改复查-->
                        <td>{$vo.reviewPerson}</td>
                        <td>{$vo.reviewTime}</td>
                         <td>{$vo.reviewResult}</td>
                        <td>{$vo.hidenFlag}</td>
                        <td>
                            <a class="btn btn-primary" 
                            href="{:url('hiden/edit',array('hidenID'=>$vo['hidenID']))}">{:lang('EDIT')}
                             </a>
                            <a class="btn btn-danger js-ajax-delete"
                                 href="{:url('hiden/delete',array('hidenID'=>$vo['hidenID']))}" data-msg="确定删除它吗？">{:lang('DELETE')}</a> 
                        </td>
            		</tr>
                </foreach>
            </tbody>
    	</table>
    </div>
</div>
<script src="__STATIC__/js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
<script src="__STATIC__/js/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer.js"></script>
<script src="__STATIC__/js/tablesort/jquery.tablesorter.js"></script>

</body>
</html>